## %CopyrightBegin%
##
## SPDX-License-Identifier: Apache-2.0
##
## Copyright Ericsson AB 2020-2025. All Rights Reserved.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
##     http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
## %CopyrightEnd%

#
# !!!!!!!!!!! OBS Generated by GNUmakefile !!!!!!!!!!!!
# This file is supposed to be compatible with as many make implementations as possible
# Do not modify this file manually unless you cannot use GNU make.
# Instead, just run GNU make in the directory where this file is located
# and a new version of this file will be generated when needed.
# GNU make will use the file GNUmakefile which is located in the same
# directory.
#
#
# Erlang/OTP note: The build system for Erlang/OTP does not use this
# file to build Yielding C Fun (YCF). The file "main_target.mk"
# contains the necessary rules to build YCF and is included both by
# this file and the Erlang/OTP file
# $(ERL_TOP)/erts/lib_src/Makefile.in. This file is intended for
# building YCF independently of Erlang/OTP.
#

./bin/yielding_c_fun.bin: ycf_lexer.o ycf_main.o ycf_node.o ycf_parser.o ycf_printers.o ycf_string.o ycf_symbol.o ycf_utils.o ycf_yield_fun.o
	$(CC) -I. $(CFLAGS) -o ./bin/yielding_c_fun.bin  ycf_lexer.o ycf_main.o ycf_node.o ycf_parser.o ycf_printers.o ycf_string.o ycf_symbol.o ycf_utils.o ycf_yield_fun.o

ycf_lexer.o: ./ycf_lexer.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_lexer.o ./ycf_lexer.c

ycf_main.o: ./ycf_main.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_main.o ./ycf_main.c

ycf_node.o: ./ycf_node.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_node.o ./ycf_node.c

ycf_parser.o: ./ycf_parser.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_parser.o ./ycf_parser.c

ycf_printers.o: ./ycf_printers.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_printers.o ./ycf_printers.c

ycf_string.o: ./ycf_string.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_string.o ./ycf_string.c

ycf_symbol.o: ./ycf_symbol.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_symbol.o ./ycf_symbol.c

ycf_utils.o: ./ycf_utils.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_utils.o ./ycf_utils.c

ycf_yield_fun.o: ./ycf_yield_fun.c
	$(CC) -I. $(CFLAGS)  -c -o ycf_yield_fun.o ./ycf_yield_fun.c

